Xbasic
RTFMEMO.INSERT_IFELSE Function
Syntax
.INSERT_IFELSE( Expression as C )
Arguments
- Expression
The expression to evaluate to determine which instruction to process next.
Description
The .INSERT_IFELSE() method inserts a paired IFELSE and ENDIF operator at the cursor location.
Discussion
Example
dim obj as P obj = :Customer_Information:rtfmemofield.this obj.rtf.insert_text("This is RTF text") obj.rtf.set_cursor(10) obj.rtf.insert_else("") obj.rtf.insert_elseif("") obj.rtf.insert_endif("") obj.rtf.insert_if("") obj.rtf.insert_if_unpaired("") obj.rtf.insert_ifelse("") obj.rtf.insert_ifelse_unpaired("")
Limitations
Desktop applications only.
See Also